package com.ruoyi.system.service.impl;
import com.ruoyi.system.entity.SecurityStaffCertificateRecordFile;
import com.ruoyi.system.mapper.SecurityStaffCertificateRecordFileMapper;
import com.ruoyi.system.service.SecurityStaffCertificateRecordFileService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

/**
 * <p>
 * 安全_企业基本信息_员工证书档案_附件表 服务实现类
 * </p>
 * @since 2023-03-15
 */
@Service("securityStaffCertificateRecordFileService")
public class SecurityStaffCertificateRecordFileServiceImpl implements SecurityStaffCertificateRecordFileService {
    @Resource
    private SecurityStaffCertificateRecordFileMapper staffCertificateRecordFileMapper;

    @Override
    public SecurityStaffCertificateRecordFile queryById(Integer id) {
        return staffCertificateRecordFileMapper.queryById(id);
    }

    @Override
    public SecurityStaffCertificateRecordFile insert(SecurityStaffCertificateRecordFile staffCertificateRecordFile) {
        return staffCertificateRecordFileMapper.insert(staffCertificateRecordFile);
    }
}
